package com.example.film.mapper;

import com.example.film.entity.ShowFilm;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ShowFilmMapper {
    //查看正在热映的电影信息
    @Select("select filmName,link,picture,director,scriptwriter,star,type,\n" +
            "       area,showDate,filmLength,wordCloud from showfilm")
    List<ShowFilm> findShowFilm();
}
